package xin.marcher.module.seller.service;

import xin.marcher.module.seller.domain.dto.SellerGroupRelationDTO;
import xin.marcher.module.seller.domain.dto.SellerGroupRelationResultDTO;
import xin.marcher.module.seller.domain.request.SellerGroupRelationRequest;

import java.util.List;

/**
 *
 */
public interface SellerGroupRelationService {

    /**
     * 新增卖家组与卖家关系
     *
     * @param request
     * @return
     */
    SellerGroupRelationResultDTO saveSellerGroupRelationInfo(SellerGroupRelationRequest request);

    /**
     * 查询卖家组与卖家关系信息
     *
     * @param request
     * @return
     */
    List<SellerGroupRelationDTO> querySellerGroupRelationInfo(SellerGroupRelationRequest request);


    /**
     * 根据卖家id和卖家组id删除卖家与卖家组关系
     *
     * @param request
     * @return
     */
    Boolean deleteBySellerId(SellerGroupRelationRequest request);
}